package com.tengju.data.interfaces.api;

import com.tengju.data.interfaces.api.dto.StoreMarketProfitForm;
import com.tengju.data.interfaces.api.vo.AchievementDetailVO;
import com.tengju.data.interfaces.api.vo.MarketProfitMidInfoVO;
import com.tengju.data.interfaces.api.vo.SubsidyTemplateVO;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

public interface MarketProfitApiService {

    /**
     * 保存市场补贴每小时实时结果
     */
//    Boolean saveMarketProfitMidInfoSnapshot(Integer month, LocalDateTime logTime);

    /**
     * 保存市场补贴月结果
     */
//    Boolean saveMarketProfitMidInfoMonthSnapshot(Integer month, LocalDateTime logTime);

    /**
     * 获取市场补贴数据版本
     */
//    Integer getDataVersion(String name);

//    int countMarketProfitMidInfo(LocalDateTime logTime, Byte calType);

    /**
     * 查询市场补贴数据
     */
//    List<MarketProfitMidInfoVO> queryMarketProfitMidInfo(LocalDateTime logTime, Byte calType, Integer offset, Integer batchQueryLimit);

    /**
     * 查询补贴模版
     */
    List<SubsidyTemplateVO> queryAllSubsidyTemplate();

    /**
     * 批量保存市场补贴数据
     */
//    Boolean batchSaveMarketProfit(List<StoreMarketProfitForm> formList);

    /**
     * 删除市场补贴数据
     */
//    Boolean delMarketProfitByVersion(Integer month, Integer version);

//    Boolean saveMarketProfitMidInfoMonthRisk(Integer month, LocalDateTime logTime);


    List<AchievementDetailVO> listCancelAchievement(List<Long> queryIdCodeList, LocalDateTime startLogTime, LocalDateTime endLogTime);

}
